package com.zonta.finance.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 辅助核算类别
 * </p>
 *
 * @author zonta
 * @since 2024-07-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("assist_calculate_cate")
@ApiModel(value="AssistCalculateCate对象", description="辅助核算类别")
public class AssistCalculateCate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "辅助核算类别名称")
    private String name;

    @ApiModelProperty(value = "自定义列,columnName表示字段名称，column_alias字段别名")
    private String customerColumn;

    @ApiModelProperty(value = "租户id")
    private Long tenantId;

    @ApiModelProperty(value = "是否禁用")
    private Boolean disable;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "用户id")
    private Long memberId;

    @ApiModelProperty(value = "修改用户id")
    private Long updateMemberId;

    @ApiModelProperty(value = "是否删除，0：删除，1：未删除")
    private Boolean delFlag;

    @ApiModelProperty(value = "辅助核算类别[0：系统，不能删除，1：自定义，可自行删除]")
    private Integer level;

    @ApiModelProperty(value = "类别编码")
    private String code;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "使用计数")
    private Integer useCount;


}
